package com.yurendao.OSFileSystem.bean;

import java.util.Date;

public class FileBean extends File{
	
	private String myfileContent;
	private int myfileSize; // 记录 文件实际存储的字符个数

	// 属性
	private String fileName;
	private String fileType;
	private String fileLocation;
	private String fileSize;
	private String fileSpace;
	private Date fileCreatedTime;
	private Boolean readOnly;
	private Boolean isHide;

	public FileBean(int myfatherFATNumber,String fileName) {
		super(myfatherFATNumber);
		this.fileName = fileName;
		this.fileType = "文件";
		this.fileSize = "1024B";
		this.fileSpace = "10KB";
		this.fileCreatedTime = new Date();
		this.readOnly = true;
		this.isHide = false;
	}

	public String getMyfileContent() {
		return myfileContent;
	}

	public void setMyfileContent(String myfileContent) {
		this.myfileContent = myfileContent;
	}

	public int getMyfileSize() {
		return myfileSize;
	}

	public void setMyfileSize(int myfileSize) {
		this.myfileSize = myfileSize;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getFileLocation() {
		return fileLocation;
	}

	public void setFileLocation(String fileLocation) {
		this.fileLocation = fileLocation;
	}

	public String getFileSize() {
		return fileSize;
	}

	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}

	public String getFileSpace() {
		return fileSpace;
	}

	public void setFileSpace(String fileSpace) {
		this.fileSpace = fileSpace;
	}

	public Date getFileCreatedTime() {
		return fileCreatedTime;
	}

	public void setFileCreatedTime(Date fileCreatedTime) {
		this.fileCreatedTime = fileCreatedTime;
	}

	public Boolean getReadOnly() {
		return readOnly;
	}

	public void setReadOnly(Boolean readOnly) {
		this.readOnly = readOnly;
	}

	public Boolean getIsHide() {
		return isHide;
	}

	public void setIsHide(Boolean isHide) {
		this.isHide = isHide;
	}

}
